EnableScript

 Index

Description

The default is False. Set to True will allow users to access "/script?counter" or "/script?list".
* The script <script src="http://yourip/script?counter"></script> will return the amount of chatters inside your chat room.
* The script <script src="http://yourip/script?list"></script> will return the user list of your chat room.

Syntax

EnableScript = Boolean

Example

Open the chat room setting file (.\room\RoomName.ini) with notepad and set EnableScript=True. Then below page will show how many users inside your chat room and their nicknames. To see the result, you need to start your chat room first and change "YourIP" to your chat room's IP address.

<Html>
<Body>
<center>
<script src="http://yourip/script?counter"></script> users inside
<hr>
<script src="http://yourip/script?list"></script>
</center>
</Body>
</Html>


This page will display something like this:
3 users inside
Andy
Mike
Jane

See Also

How to display the amount of chatters and the user list on my home page?


Copyright © 2003 LionMax Software. All Rights Reserved.